import Pageone from './pageone'
import Index from "./index"
import React, { Component } from 'react'
import { HashRouter as Router, Route, Switch } from 'react-router-dom'
export default class App extends Component<any, any> {
  constructor(props: any) {
    super(props)
  }
  render() {
    return (
      <div className="App">
        <Router>
          <Switch>
            <Route path="/" component={Index} exact></Route>
            <Route path="/pageone" component={Pageone}></Route>
          </Switch>
        </Router>
      </div>
    )
  }
}
